package dongshi.dadday.testdongsirmultidatasourcestarter.dao;

import dongshi.dadday.testdongsirmultidatasourcestarter.entity.T;
import dongshi.dadday.testdongsirmultidatasourcestarter.mapper.TMapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

@Repository
public class TDao {
    @Resource
    private TMapper tMapper;

    public T selectByPrimaryKey(int id) {
        return tMapper.selectByPrimaryKey(id);
    }
}
